* {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    background-color: #f0f0f0;
}

.layout {
    display: grid;
    grid-template-areas:
        "header header header"
        "content content content"
        "footer footer footer";
}

header {
    grid-area: header;
}

footer {
    grid-area: footer;
}

main {
    grid-area: content;
}

a {
    text-decoration: none;
}

span {
    display: inline-block;
}

.container {
    background-color: white;
    margin: 42px auto;
    /* border: 1px solid black; */
    width: 1000px;
    /* height: 356px; */
}

.container .bookL {
    float: left;
    width: 26%;
}

.container .bookL img {
    margin: 67px auto 0;
    width: 156px;
    height: 208px;
    display: block;
    position: relative;
}

.container .bookR {
    float: left;
    width: 73%;
    overflow: hidden;
    padding-bottom: 27px;
    border-left: 1px solid #f0f0f0;
}

.bookR .bookinfo01 {
    padding: 22px 40px 0 30px;
    height: 72px;
    border-bottom: 1px solid #f0f0f0;
}

.bookR .bookname {
    margin-bottom: 15px;
}

.bookR .bookinfo01 p {
    color: #9e9e9e;
    font: 12px/20px "微软雅黑";
}

.bookR p span {
    margin-right: 12px;
}

.bookR .bookinfo02 {
    padding: 22px 40px 0 30px;
    height: 72px;
    border-bottom: 1px solid #f0f0f0;
}

.bookR .bookinfo02 p {
    margin-bottom: 18px;
}

.bookR .bookinfo02 span {
    line-height: 30px;
    text-align: center;
    color: white;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
}

.bookR .bookinfo02 span:nth-child(2) {
    background-color: #2ecc71;
    width: 80px;
    height: 30px;
}

.bookR .bookinfo02 span:nth-child(3) {
    background-color: #ff5b5b;
    width: 80px;
    height: 30px;
}

.bookR .bookinfo03 {
    padding: 22px 40px 0 30px;
}

.bookR .bookinfo03 p {
    line-height: 18px;
    height: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 13px;
    color: #9e9e9e;
    font: 12px/20px "微软雅黑";
}

.bookR .bookinfo03 span {
    color: #9e9e9e;
    font: 12px/20px "微软雅黑";
    float: right;
    cursor: pointer;
}

.show-more {
    height: auto !important;
    max-height: 160px;
}

footer{
    background-color: white;
    margin: 0 auto;
    width: 1000px;
}

.about {
    float: left;
    width: 26%;
    padding: 23px 20px 0;
    border-right: 2px solid #e6e6e6;
}

.about ul,
h2 {
    padding: 2px 40px;
}

.about img {
    width: 156px;
    height: 208px;
    display: block;
    position: relative;
}

.about .side-item {
    margin: 27px 0;
    cursor: pointer;
    display: block;
    position: relative;
}

.about .side-item span {
    display: block;
    margin: 4px 2px;
    width: 156px;
}

.comment {
    width: 69%;
    float: right;
}

.comment .comment-head {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    margin: 32px 36px;
}

.comment .comment-head .headcontainer {
    width: 100%;
    margin: 18px 0px 38px 0px;
}

.comment .comment-head .headcontainer span:nth-child(1) {
    font-size: 18px;
    color: black;
}

.comment .comment-head .headcontainer span:nth-child(2) {
    font-size: 16px;
    color: #b0b0b0;
    margin: 0 8px;
}

.comment .comment-head .headcontainer .addcomment{
    float: right;
    cursor: pointer;
}

.comment .comment-head .headcontainer .addcomment .addcommentIco{
    float: right;
}

.comment .comment-head .headcontainer .addcomment .addcommentIco img{
    width: 30px;
}

.comment .comment-head .headcontainer .addcomment .youComment{
    position: relative;
    display: none;
}

.comment .comment-head .headcontainer .addcomment .youComment textarea{
    width: 200px;
    box-sizing: border-box;
}

.comment .comment-head .headcontainer .addcomment .youComment .button{
    position: absolute;
    right: 0;
    bottom: 0;
}

.comment .comment-head .headcontainer .addcomment .youComment .button p{
    font-size: 12px;
}

#youComment form p {
    font-size: 12px;
    display: inline;
}

.hidden {
    display: none;
}

.comment .comment-body {
    padding: 0 40px;
}

.comment .comment-body ul li {
    /* padding-top: 32px; */
    padding: 32px 0;
    border-bottom: 2px solid #f0f0f0;
}

.comment .comment-body ul li img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-item .comment-item-head {
    margin-bottom: 24px;
}

.comment-item .comment-item-body p {
    height: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 13px;
    color: #9e9e9e;
    font: 12px/18px "Microsoft Yahei";
}

.comment-item .comment-item-body span {
    float: right;
    cursor: pointer;
    color: #9e9e9e;
    font: 12px/18px "Microsoft Yahei";
}
.comment-item .comment-item-body span:hover,
.bookR .bookinfo03 span:hover {
    color: #ff5b5b;
}